package com.ruoyi.system.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 宠物品种对象 pet_variety
 */
public class PetVariety extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 宠物品种唯一标识 */
    private Long id;

    /** 品种名称 */
    private String varietyName;

    /** 宠物种类ID */
    private Long typeId;

    /** 关联的宠物种类 */
    private PetType petType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getVarietyName() {
        return varietyName;
    }

    public void setVarietyName(String varietyName) {
        this.varietyName = varietyName;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public PetType getPetType() {
        return petType;
    }

    public void setPetType(PetType petType) {
        this.petType = petType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("varietyName", getVarietyName())
                .append("typeId", getTypeId())
                .append("petType", getPetType())
                .toString();
    }
} 